/* 
 * File:   Request.cpp
 * Author: adamski
 * 
 * Created on 24 July 2011, 09:48
 */

#include "Request.h"

Request::Request() {
}

Request::Request(const Request& orig) {
}

Request::~Request() {
}

// Global static pointer used to ensure a single instance of the class.
Request* Request::m_pInstance = 0;  

/** This function is called to create an instance of the class. 
    Calling the constructor publicly is not allowed. The constructor 
    is private and is only called by this Instance function.
*/
  
Request* Request::Instance()
{
   if (!m_pInstance)   // Only allow one instance of class to be generated.
      m_pInstance = new Request;

   return m_pInstance;
}

